package com.exp.practice.workbench.service.student;

import com.exp.practice.base.exception.MyException;
import com.exp.practice.workbench.domain.*;

import java.util.List;
import java.util.Map;

public interface StudentPracticeService {
    int getTotal(String stuId,String finished);

    List<Examination> getExaminationList(String pageNo, String pageSize,String stuId,String finished);

    Map<String, Object> getConcreteExamination(String eid);


    ExaminationSituation markTest(String stuId, String eid, int score) throws MyException;

    void insertConcreteExaminationSituation(ConcreteExaminationSituation concreteExaminationSituation) throws MyException;

    void setFinishedStatus(String eid, String stuId) throws MyException;

    ExaminationSituation getExaminationSituation(String eid, String stuId);

    List<ConcreteExaminationSituation> getBySituationId(String situationId);
}
